import { Module, ActionTree, MutationTree } from 'vuex';

const state = {
  dialogImageUrl: ''
};

// actions
const actions = {
  setImageUrl(state, info) {
    state.commit('setImageUrl', info);
  }
};

// mutations
const mutations = {
  setImageUrl(state, info) {
    // console.log('...')
    state.dialogImageUrl = info;
  }
};

export const allState = {
  state,
  actions,
  mutations,
};
